runtime.g.atomicstatus (field)
14 uses
runtime (current package)
coro.go#L168: if !canCAS || !gp.atomicstatus.CompareAndSwap(_Grunning, _Gwaiting) {
coro.go#L236: if !canCAS || !gnext.atomicstatus.CompareAndSwap(_Gwaiting, _Grunning) {
mgcmark.go#L78: gp.atomicstatus.CompareAndSwap(_Gleaked, _Gwaiting)
proc.go#L1208: return gp.atomicstatus.Load()
proc.go#L1232: success = gp.atomicstatus.CompareAndSwap(oldval, newval)
proc.go#L1254: r := gp.atomicstatus.CompareAndSwap(oldval, newval)
proc.go#L1295: for i := 0; !gp.atomicstatus.CompareAndSwap(oldval, newval); i++ {
proc.go#L1296: if oldval == _Gwaiting && gp.atomicstatus.Load() == _Grunnable {
proc.go#L1307: for x := 0; x < 10 && gp.atomicstatus.Load() != oldval; x++ {
proc.go#L1417: for !gp.atomicstatus.CompareAndSwap(_Grunning, _Gscan|_Gpreempted) {
proc.go#L1435: if !gp.atomicstatus.CompareAndSwap(_Gpreempted, _Gwaiting) {
proc.go#L4697: if gp.bubble != nil || !gp.atomicstatus.CompareAndSwap(_Grunning, _Gsyscall) {
proc.go#L4913: if gp.bubble != nil || !gp.atomicstatus.CompareAndSwap(_Gsyscall, _Grunning) {
runtime2.go#L507: atomicstatus atomic.Uint32
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |